package com.gtw.modules.dao;

import com.gtw.modules.entity.TbBankCard;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author wuye
 */
@Mapper
@Repository
public interface TbBankCardDao extends BaseDao<TbBankCard>{
    int deleteByPrimaryKey(Integer id);

    int insert(TbBankCard record);

    int insertSelective(TbBankCard record);

    TbBankCard selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TbBankCard record);

    int updateByPrimaryKey(TbBankCard record);

    List<TbBankCard> queryAll();
}